package org.lq.his.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.lq.his.pojo.Drug;
import org.lq.his.pojo.Myo;

public interface DrugService {

	//查询list
public List<Drug> getListByCondition(@Param("start") int start,@Param("limit") int limit,@Param("condition") Drug condition,@Param("column") String column,@Param("orderBy") String orderBy);
	//根据条件查询
	public int getCountByCondition(@Param("condition") Drug condition);
	
	//添加药品
	public void add(Drug drug);
	
	//修改药品
	public void update(Drug drug);
	
	public Drug getById( Integer id);
	
	
	public void deleteDrug(Integer[] ids);
	
	public List<Drug> getDrugsByPrescribeId(Integer prescribeId);
	
}
